import { createPinia } from "pinia";
import { createApp } from "vue";
import App from "./App.vue";

import router from "./router";
const pinia = createPinia();

// 必须在创建完app后，通过use的方式使用，并且在mount之前
// createApp(App).use(router).use(pinia).mount("#app");
const app = createApp(App);
app.use(router);
app.use(pinia);

app.mount("#app");
